//
//  YXDownloadNumTableViewCell.m
//  MockProject
//
//  Created by FanYu on 25/8/2016.
//  Copyright © 2016 niuzhaowang. All rights reserved.
//

#import "YXDownloadNumTableViewCell.h"

@implementation YXDownloadNumTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
    self.arrowImage.image = [UIImage imageNamed:@"设置数量进入箭头icon正常态"];
    self.arrowImage.highlightedImage = [UIImage imageNamed:@"设置数量进入箭头icon点击态-0"];
    
    self.titleLabel.textColor = [UIColor colorWithHexString:@"403e3d"];
    self.titleLabel.font = [UIFont systemFontOfSize:16];
    
    self.numLabel.textColor = [UIColor colorWithHexString:@"ff4600"];
    self.numLabel.font = [UIFont systemFontOfSize:16];
    self.numLabel.textAlignment = NSTextAlignmentRight;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)setCellModel:(YXSettingCellModel *)cellModel {
    _cellModel = cellModel;
    self.titleLabel.text = cellModel.title;
    self.numLabel.text = cellModel.number;
}

@end
